package io.renren.modules.ranking.service;

import io.renren.modules.ranking.entity.RoadAccidentsEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wxy
 * @email sharonwang_xy@163.com
 * @date 2018-10-24 21:52:01
 */
public interface RoadAccidentsService {
	
	RoadAccidentsEntity queryObject(Integer id);
	
	List<RoadAccidentsEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(RoadAccidentsEntity roadAccidents);
	
	void update(RoadAccidentsEntity roadAccidents);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
